package com.halfsword.creativecraft.item.custom;

import com.halfsword.creativecraft.CreativeCraft;
import com.halfsword.creativecraft.block.BlockLoader;
import com.halfsword.creativecraft.utils.SpaceTags;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.world.item.Tier;
import net.minecraft.world.item.Tiers;
import net.minecraft.world.item.crafting.Ingredient;
import net.minecraftforge.common.ForgeTier;
import net.minecraftforge.common.TierSortingRegistry;

import java.util.List;

public class ToolTiers {
    public static final Tier SPACE = TierSortingRegistry.registerTier(
            new ForgeTier(5,2499,9f,50f,75,
                    SpaceTags.Blocks.NEEDS_SPACE_TOOL, ()-> Ingredient.of(BlockLoader.BLOCK_SPACE.get())),
            ResourceLocation.fromNamespaceAndPath(CreativeCraft.MOD_ID,"space"), List.of(Tiers.NETHERITE),List.of()
    );
}
